package com.example.springboot_jap_model.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/main")
public class MainController {

    @RequestMapping(value = {"/","/index"})
    public String getMain(){
        return "/main/index";
    }

    @RequestMapping("/testMain")
    public String testMain(){
        return "/main/main";
    }


}
